<?php defined('SMIT_PATH') or die('Access Denied');
/**
 *	SmitImage.php - Abstraction layer to GD and imagemagick
 *	This is Smit Matterhorn - Build 24109
 *	
 *
 * @author		The SmitBoard Team & Community
 * @license		GNU GPL v3
 * @link		http://smitboard.sf.net
 * @since		Matterhorn
 */
 
class SmitImage
{
	public $base;

	private $lib = array();
	
	private $image;

	public function __construct($filename)
	{
		$this->base = SmitBase::getInstance();
		$this->lib = 'gd';
		$this->file = $filename;
		
		if(!file_exists($filename))
		{
			$this->base->error('The file specified to the ImageLibrary was not found.', E_MISSING_FILE, 'Image Location: ' . $this->file);
		}
	}

    
}

?>